﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace HeTuVanHuongNghiep
{
    public partial class frmMain : Form
    {
        private BindingSource bs = null;
        private DataRow currentRow = null;
        private frmTruong frmTruong = null;
        private frmTuVanChonTruong frmcChonTruong= null;
        public frmMain()
        {
            InitializeComponent();
        }

        private void mnThongTinTruong_Click(object sender, EventArgs e)
        {
            if (this.frmTruong == null || this.frmTruong.IsDisposed == true)
            {
                this.frmTruong = new frmTruong();
                this.frmTruong.MdiParent = this;
                this.frmTruong.Show();
            }
            else
            {
                this.frmTruong.Activate();

            }
        }

        private void mnTuVanChonTruong_Click(object sender, EventArgs e)
        {
            if (this.frmcChonTruong == null || this.frmcChonTruong.IsDisposed == true)
            {
                this.frmcChonTruong = new frmTuVanChonTruong();
                this.frmcChonTruong.MdiParent = this;
                this.frmcChonTruong.Show();
            }
            else
            {
                this.frmTruong.Activate();

            }
        }
    }
}
